From: Aaron Schulz Date: Sun, 30 Oct 2011 20:32:11 +0000 (+0000) Subject: Fix r101294: newNullRevision isn't using selectField() or the like...it needs to... X-Git-Tag: 1.31.0-rc.0~26817 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=4b9c7efd8e9e24a1a708c67acc037e410fbd2d62;p=lhc%2Fweb%2Fwiklou.git Fix r101294: newNullRevision isn't using selectField() or the like...it needs to specify sha1 --- diff --git a/includes/Revision.php b/includes/Revision.php index 278d575019..3604b13541 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -1083,7 +1083,7 @@ class Revision { $current = $dbw->selectRow( array( 'page', 'revision' ), - array( 'page_latest', 'rev_text_id', 'rev_len' ), + array( 'page_latest', 'rev_text_id', 'rev_len', 'rev_sha1' ), array( 'page_id' => $pageId, 'page_latest=rev_id',